package com.huluobo.lib_http

/**
 *  Created by LC on 2025/6/21.
 */
object Const {
    const val BASE_URL = "http://39.104.238.234:8081"
    const val PARAM_TOKEN = "ferioatoken"
    const val VIDEO_URL = "http://10.161.9.80:7012"
    const val PARAM_VIDEO_TOKEN = "token"

    //是否进入过app的key
    const val PARAM_IS_IN = "isIn"

    //应用程序
    const val URL_GET_ALL_APPS = "/api/sysapp/all"

    //工作日志
    const val URL_GET_ALL_REPORT = "/api/oaworklog/all"
    const val URL_COMMIT_REPORT = "/api/oaworklog/save"
    const val PARAM_CONTENT = "content"
    const val PARAM_TITLE = "title"

    //文件上传,使用video中的上传头像接口
    const val PARAM_FILE = "file"
    const val URL_UPLOAD_FILE = "/user/updateIcon"

    //签到
    const val URL_GET_ALL_SIGNS = "/api/clock/page"
    const val PARAM_SIGN_IN = "signIn"
    const val PARAM_SIGN_OUT = "signOut"
    const val PARAM_STATUS_IN = "statusIn"
    const val PARAM_STATUS_OUT = "statusOut"
    const val PARAM_PAGE = "page"
    const val PARAM_LIMIT = "limit"

    const val PARAM_LAT = "lat"
    const val PARAM_LON = "lon"
    const val PARAM_TYPE = "type"
    const val PARAM_STATUS = "status"
    const val PARAM_ADDRESS = "address"
    const val URL_ADD_SIGN = "/api/clock/save"

    //用户
    const val PARAM_USERNAME = "username"
    const val PARAM_ROLE = "role"

    //新增员工
    const val PARAM_NAME = "name"
    const val PARAM_NO = "no"
    const val PARAM_PHONE = "phone"
    const val PARAM_DID = "did"
    const val PARAM_PID = "pid"
    const val PARAM_PNAME = "pname"
    const val URL_ADD_EMPLOYEE = "/api/staff/save"

    //登录
    const val PARAM_UNAME = "uname"
    const val PARAM_UPASS = "upass"
    const val URL_LOGIN = "/api/user/login"

    //请假
    const val PARAM_START_TIME = "startTime"
    const val PARAM_END_TIME = "endTime"
    const val PARAM_HOURS = "hours"
    const val PARAM_REASON = "reason"
    const val URL_ADD_APPROVE = "/api/leave/save"
    const val URL_GET_ALL_APPROVE = "/api/leave/all?status=0"

    //审批请假
    const val PARAM_ID = "id"
    const val COM_TIME = "comTime"
    const val COM_REASON = "comReason"
    const val URL_COM_APPROVE = "/api/leave/audit"

    //分页请假数据
    const val URL_GET_ALL_APPROVE_PAGE = "/api/leave/page"

    //视频列表
    const val URL_GET_VIDEOS = "/video/findVideos"
    const val PARAM_CURRENT_PAGE = "currentPage"
    const val PARAM_PAGE_SIZE = "pageSize"
    const val PARAM_VIDEO_KEY = "videoKey"

    //视频服务器登录
    const val URL_LOGIN_VIDEO = "/user/loginjson"
    const val PARAM_PASSWORD = "password"

    //点赞
    const val PARAM_VIDEO_ID = "videoId"
    const val URL_LIKE_VIDEO = "/fav/love"
    const val URL_NO_LIKE_VIDEO = "/fav/nolove"

    //评论
    const val URL_GET_COMMENTS = "/comment/getCommentByVideoId"
    const val PARAM_MSG = "msg"
    const val URL_SEND_COMMENT = "/comment/comment"
}